<?php

class MainController extends Controller {

	public function actionIndex(){
		$this->render("main");
	}

	public function actionSearch(){
		$this->render("search");
	}

	public function beforeRender(){
		echo "Before<br />";
	}
}

?>